<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Document</title>
        <style>
            *{
                margin: 0px;
                padding: 0px;
                list-style: none;
            }
            .header{
                height: 66px;
                background: #f0f0f0;
                border-bottom:1px solid blue;

            }
            .banner{
                width: 1207px;
                height: 512px;
                background:#f5f5f5;
                margin:25px auto;
            }
            .menu{
                width: 1207px;
                height: 36px;
                background:#f5f5f5;
                margin:0px auto; 
            }
            .list{
                width: 1207px;
                height: 1000px;
                background:#f5f5f5;
                margin:25px auto 12px; 
            }
            .txt{
                width: 1207px;
                height: 35px;
                background:#ffffff;
                text-align: center;
                /* 文字垂直居中设置行高等于当前标签的高度 */
                line-height: 35px;
                margin:12px auto 0px;
            }
            .header .left{
                    float: left;
                    margin-top: 26px;
                    margin-left: 35px;
                }
                .header ul{
                    float: left;
                    margin-top: 15px;
                    margin-left: 257px;
                }
                .header .right{
                    float: right;
                }
                .header li{
                    float: left;
                    
                }
                .banner .left{
                    float: left;
                    width: 909px;
                }
                .banner .right{
                    float:right;
                    width: 289px;
                }
                .banner .right li{
                    width:289px;
                    height: 163px;
                    margin-bottom: 12px;
                    /* 超出部分隐藏 overflow hidden */
                    overflow: hidden;
                    position: relative;
                }
                .banner .right img{
                    width: 289px;
                }
                .banner .right p{
                    position: absolute;
                    left: 0px;
                    bottom: 0px;
                    /* rgba实现透明色 rgb红绿蓝 a透明 */
                    background:rgba(0,0,0, 0.3);
                    width: 289px;
                    height: 30px;
                    line-height:30px;
                }
                .menu li{
                    width: 130px;
                    height: 33px;
                    border: 1px solid red;
                    padding-left:12px;
                    float: left;
                    margin-right: 15px;
                }
                .list li{
                    width: 291px;
                    height: 311px;
                    border-bottom: 1px solid red;
                    background: #f5f5f5;
                    float: left;
                    margin-right: 14px;
                }
                .list li:nth-of-type(4n){
                    margin-right: 0px;
                }
                .list p{
                    margin: 12px 15px;
                }
                .list img{
                    width: 291px;
                }
                .list p:nth-of-type(1){
                    height: 42px;
                }
                .list span:nth-of-type(1){
                    float: left;
                }
                .list span:nth-of-type(2){
                    float: right;
                    margin-left: 121px; 
                }
                .list span:nth-of-type(3){
                    float: right;
                }
                .footer{
                width: 1212px;
                height: 275px;
                margin:0px auto;
                background:#f5f5f5;
            }
                .aa{
                    height: 32px;
                    background: #f5f5f5;
                    color: white
                }
                .aa .left{
                    float: left;
                }
                .aa li{
                    float: left;
                }
                .aa .right{
                    float:right;
                }
        </style>
    </head>
    <body>
        <div class="header">
            <!-- span引入小元素 -->
            <span class="left">三</span>
            <ul>
                <li>赞</li>
                <li>哈</li>

            </ul>
            <span class="right">登录</span>
        </div>
        <div class="banner">
            <img src="images/s003.jpg" alt="" class="left">
            <ul class="right">
                <li>
                    <img src="images/s02.jpg" alt="">
                    <p>想点亮圣诞气氛，试试这个驯鹿灯</p>
                </li>
                <li>
                    <img src="images/s03.jpg" alt="">
                    <p>Desig 100:100个设计师，100个故事</p>
                </li>
                <li>
                    <img src="images/s04.jpg" alt="">
                    <p>旧椅子获新生，还比以前更炫酷了</p>
                </li>
            </ul>
        </div>
        <ul class="menu">
            <li>最新</li>
            <li>最热</li>
            <li>热议</li>
            <li>随机</li>
        </ul>
        <ul class="list">
            <li><img src="images/i01.jpg" alt="">
                <p>用水才能擦去笔记，它只是想保护好设计师的创意</p>
                <P>
                    <SPan>两小时前</SPan>
                    <span>2</span>
                    <span>122</span>
                </P>
            </li>
            <li><img src="images/i02.jpg" alt="">
            <p>马桶刷也要有优雅的姿态</p>
            <p>
                <span>3小时前</span>
                <span>7</span>
                <span>108</span>
            </p>
            </li>
            <li><img src="images/i03.jpg" alt="">
            <p>健身也走「科技范」，你以为这仅仅只是个瑜伽垫？</p>
            <p>
                <span>16小时前</span>
                <span>11</span>
                <span>407</span>
            </p>
            </li>
            <li><img src="images/i04.jpg" alt="">
            <p>牙缝清洁怎么办？牙签牙线都过时了，用「刷子」刷吧</p>
            <p>
                <span>16小时前</span>
                <span>16</span>
                <span>640</span>
            </p>
            </li>
            <li><img src="images/i05.jpg" alt="">
            <p>矮怎么了？照样能够拿书架顶端的书</p>
            <p>
            <span>18小时前</span>
            <span>24</span>
            <span>534</span>    
            </p>
            </li>
            <li><img src="images/i06.png" alt="">
            <p>这简直是一场关于肉体的盛宴，无关设计，无关时尚，无关商业......</p>
            <p>
                <span>19小时前</span>
                <span>23</span>
                <span>1064</span>
            </p>
            </li>
            <li><img src="images/i07.png" alt="">
            <p>中国国际设计节PK世界工业设计大会，那个更棒？</p>
            <P>
                <span>20小时前</span>
                <span>10</span>
                <span>402</span>
            </P>
            </li>
            <li><img src="images/i07.jpg" alt="">
            <p>首届世界工业设计大会在家门口杭州，中国设计师们燥起来</p>
               <p>
                   <span>23小时前</span>
                   <span>9</span>
                   <span>303</span>
               </p>
            </li>
            <li><img src="images/i08.jpg" alt="">
            <p>偶在北方的暖炉里，你因该需要这样一个散热门阀？</p>
            <p>
                <span>1天前</span>
                <span>11</span>
                <span>479</span>
            </p>
            </li>
            <li><img src="images/i09.jpg" alt="">
            <p>废纸打造的铅笔，像是一朵朵落入凡间的花</p>
            <p>
                <span>2天前</span>
                <span>34</span>
                <span>533</span>
            </p>
            </li>
            <li><img src="images/i10.jpg" alt="">
            <p>倚靠在毯子上，这件事听着就让人舒坦</p>
            <p>
                <span>2天前</span>
                <span>19</span>
                <span>463</span>
            </p>
            </li>
            <li><img src="images/i11.jpg" alt="">
            <p>别笑话虚拟键盘没有实体按键，打字or音乐，它们说变就能变</p>
            <p>
                <span>2天前</span>
                <span>44</span>
                <span>540</span>
            </p>
            </li>
        </ul>
        <p class="txt">太快了吧，慢慢来，笑</p>
        <div class="footer">
            <p>合作伙伴</p>
            <p>
                <img src="images/x01.png" alt=""> 
                <img src="images/x02.png" alt="">
                <img src="images/x03.png" alt="">
                <img src="images/x04.png" alt="">  
                <img src="images/x05.png" alt="">
                <img src="images/x06.png" alt="">
                <img src="images/x07.jpg" alt="">    
            </p>
            <p>友情链接</p>
            <p>
                <a href="">百度</a>
                <a href="">百度</a>
                <a href="">百度</a>
            </p>
        </div>
        <div class="aa">
            <ul class="left">
                <li>合作</li>
            </ul>
            <p class="right">
                ©设计癖
            </p>
        </div>
    </body>
</html>